<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use App\pro;

use App\Http\Requests;
use App\Http\Controllers\Controller;

class Indexcontroller extends Controller
{
   public function index(){
    $pros = pro::take(3)->where('status','1')->get();
    return view('index',['pros'=>$pros]);
   }
}
